package com.yuanqi.Common.Pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yuanqi.Common.Pojo.common;
import lombok.*;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class User extends common {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private String password;
    private String phone;
    private String email;
    @TableField(value = "nike_name")
    private String nikeName;
    private String userpic;
    private Integer status;
    private Long create_time;

}
